package com.ynding.spring.idea.ddd.core.service.lottery.service;

import com.ynding.spring.idea.ddd.common.service.facade.lottery.result.LotteryConditionResult;

/**
 * 活动准入 领域服务
 * @author ynding
 * @version 2022/9/11
 **/
public interface LotteryConditionService {

    /**
     * 活动准入检查
     * @param lotteryId
     * @param userId
     * @return
     */
    LotteryConditionResult checkLotteryCondition(int lotteryId, int userId);
}
